package com.jeeplus.test.jlnu.student.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jeeplus.test.jlnu.student.domain.entity.BkbsssStudentObtain;
import com.jeeplus.test.jlnu.student.domain.vo.BkbsssStudentObtainReqVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BkbsssStudentObtainMapper extends BaseMapper<BkbsssStudentObtain> {
    Page<BkbsssStudentObtain> selectAllBkbsssStudentObtainVOs(@Param("BkbsssStudentObtainReqVo")BkbsssStudentObtainReqVo bkbsssStudentObtainReqVo, Page<BkbsssStudentObtain> page);

    List<BkbsssStudentObtain> selectBatchIds(@Param("ids") List<Integer> ids);

    BkbsssStudentObtainReqVo selectBkbsssStudentObtainById(@Param("id") Long id);

    int batchUpdateMailing(@Param("admissionInfos") List<BkbsssStudentObtainReqVo> admissionInfos, @Param("transferState") String transferState);

}
